using JoyfulHomeJourney.BackEnd.Infrastructure.EFCore;
using JoyfulHomeJourney.BackEnd.Infrastructure.Dtos.Responses.Objects;
namespace JoyfulHomeJourney.BackEnd.Server.Instances.Extends.Responses
{
	public static class SysDictionaryTypesExtend
{
		public static ResponseSysDictionaryTypesDto ToResponseDto(this SysDictionaryTypes entity)
{			return new ResponseSysDictionaryTypesDto
			{
				id = entity.DtId,
				name = entity.DtName,
				key = entity.DtKey,
				description = entity.DtDescription,
				auth = entity.DtAuth,
				createTime = entity.DtCreateTime,
			};
		}
	}
}
